//
//  JEHBaseTableViewCell.m
//  SinaNews
//
//  Created by 蒋恩浩 on 15/12/2.
//  Copyright © 2015年 JEH. All rights reserved.
//

#import "JEHBaseTableViewCell.h"

@implementation JEHBaseTableViewCell

- (void)nightMode {
    
    NSUserDefaults *user = [NSUserDefaults standardUserDefaults];
    NSString *mode = [user objectForKey:@"NightMode"];
    if ([mode isEqualToString:@"Night"]) {
        
        self.backgroundColor = [UIColor colorWithRed:34 / 255.0 green:34 / 255.0 blue:34 / 255.0 alpha:1];
    } else {
        self.backgroundColor = [UIColor whiteColor];
    }
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
